CrystalisBytes
v. 0.0.5.0
5 August 2012
=============================================================================================================================================================
Please see the user's guide (CrystalisBytes.docx) for more extensive information.

Apologies for releasing this with such limited features, but wanted to get it out to those who may be curious. You can edit some stuff with the weapons,
armor and monsters so far. Actually, you can edit all the sprites, not just monsters, but I've only identified some of the monsters (most of the ones up
until Joel). The rest of the sprites are there, but I havn't identified what they are yet. Thanks to Red X, I got a lot of the weapon info from his notes and
Crystalis Rebalanced mod.

Have a look at the Crystalis ROM map (datacrystal.romhacking.net/wiki/Crystalis:ROM_map) on romhacking.net for the basics on how the ROM is organized. Some
things I've figured out so far:

	1. The number of bytes for each sprite is variable. I've set up the editor with what I think are the correct sizes for each sprite
	2. Most of the monsters, even if their structs don't all have the same information, whatever they do have usually occurs in the same place (e.g. damage
	   is always 9 bytes from the beginning of the struct (if the sprite has that byte). But there are some exceptions like the bats that the vampires spawn
	   There's an info pop up in the editor if you select those sprites.
	3. For a monster to die, it's HP has to go *below* 0. So all of the monster HPs are essentially 1 point higher than given (30 HP is equivalent to 31).

Level to hurt gets bitwise AND'ed by 0x1F to give the level needed (so 5 bytes). Setting bit 7 means the sprite can poison the player (doesn't seem to work
for any of the attack sprites, just the monsters themselves). I don't know what the other 2 bits do yet. Monster elemental resistances are also bit flags.

Loading monsters on entering a room seems to start around 0F:C300 (I use FCEUX's debugger)

Unsure if purple wyvern is a different monster than the red one or just a palatte swap. The purple wyvern in the cave w/ kirisia plant loads data from the
red wyvern sprite data so I guess it's just a palette swap, but I don't know what other data might be getting loaded from elsewhere.

My email is prgworks@yahoo.com for any questions